/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Utils;

import java.io.Serializable;
import net.sf.jml.MsnUserStatus;

/**
 *
 * @author edoardo
 */
public class User implements Serializable{

    private String username;
    private String password;
    private boolean isPass;
    private MsnUserStatus status;

    public User(String user, String pass)
    {
        this.username = user;
        if (pass.equals(""))
        {
            isPass = false;
        }
        else
        {
            isPass = true;
            password = pass;
        }
    }

    public String getUsername()
    {
        return this.username;
    }

    public String getPassword()
    {
        return this.password;
    }

    public boolean getIsPassword()
    {
        return this.isPass;
    }

    public void setStatus(MsnUserStatus status)
    {
        this.status = status;
    }

    public MsnUserStatus getStatus()
    {
        return this.status;
    }

}
